vertical method in algebra